<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.*" %>
<%@ page import="com.zll.framework.util.*" %>
<%@ page import="com.zll.framework.model.*" %>
<%@ page import="com.zll.framework.grid.*" %>
<%@ page import="com.zll.framework.db.*" %>
<%@ page import="com.joinhawaii.common.*" %>
<%@ page import="com.joinhawaii.home.*" %>

<%
	final String HOME_NAME				= "조인하와이";
	final String context_root			= "";
	final String session_user_id		= StringUtil.nvl(session.getAttribute("session.user_id"));
	final String session_user_name		= StringUtil.nvl(session.getAttribute("session.user_name"));
	final String session_user_auth		= StringUtil.nvl(session.getAttribute("session.user_auth"));
	final String session_auth_name		= StringUtil.nvl(session.getAttribute("session.auth_name"));
	final String session_dept_code		= StringUtil.nvl(session.getAttribute("session.dept_code"));//직원만 값이 있음

	final String session_email_addr		= StringUtil.nvl(session.getAttribute("session.email_addr"));
	final String session_password		= StringUtil.nvl(session.getAttribute("session.password"));

	String remoteAddr 	= request.getRemoteAddr();

	Calendar cal = Calendar.getInstance();
	SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");

	final String TODAY 		= df.format(cal.getTime());


	String pmenu_id			= StringUtil.nvl(request.getParameter("pmenu_id"));
	String menu_id			= StringUtil.nvl(request.getParameter("menu_id"));

	HomeDAO homeDao			= new HomeDAO();
	HashList topMenuList 	= homeDao.selectTopMenuList();

	String menu_name		= "";


/*
	HashMap logInfo			= new HashMap();
	logInfo.put("main_path",	StringUtil.nvl(new String(request.getRequestURL())));
	logInfo.put("referer",		StringUtil.nvl(request.getHeader("referer")));
	logInfo.put("ip_addr",		StringUtil.nvl(request.getRemoteAddr()));

	DBManager.executeUpdate("/common.xml", "insert_code", logInfo);
	*/
%>